package com.yxhl.zoume.data.http.model.trips;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by yxhl on 15/11/13.
 */
public class TripPassenger implements Serializable {

    /**
     * 成人
     */
    public static final int ADULT = 1;
    /**
     * 儿童
     */
    public static final int CHILD = 2;
    /**
     * 军人票
     */
    public static final int SOLDIER = 3;

    //[{\"fee\":0.02,\"idNumber\":\"13041711\",\"name\":\"李小明\",\"type\":1,\"status\":2}]"
    //"ocnk": "[{\"fee\":25.0,\"idNumber\":\"37050419\",\"name\":\"也一样\",\"type\":1,\"status\":1}]",
    @SerializedName("fee")
    private float fee;

    @SerializedName("idNumber")
    private String idNumber;

    @SerializedName("name")
    private String name;

    @SerializedName("type")
    private int type;

    @SerializedName("status")
    private int status;

    public TripPassenger() {
    }

    public TripPassenger(int fee, String idNumber, String name, int type, int status) {
        this.fee = fee;
        this.idNumber = idNumber;
        this.name = name;
        this.type = type;
        this.status = status;
    }

    public static int getADULT() {
        return ADULT;
    }

    public static int getCHILD() {
        return CHILD;
    }

    public static int getSOLDIER() {
        return SOLDIER;
    }

    public float getFee() {
        return fee;
    }

    public void setFee(float fee) {
        this.fee = fee;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "TripPassenger{" +
                "fee=" + fee +
                ", idNumber='" + idNumber + '\'' +
                ", name='" + name + '\'' +
                ", type=" + type +
                ", status=" + status +
                '}';
    }
}
